net: designware: Add SoCFPGA GMAC DT compatible string
authorMarek Vasut <[email protected]>
Sat, 25 Jul 2015 16:38:44 +0000 (18:38 +0200)
committerMarek Vasut <[email protected]>
Sat, 8 Aug 2015 12:14:05 +0000 (14:14 +0200)
Add the OF compatible property to match the SoCFPGA GMAC.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
drivers/net/designware.c

index bcae842389aae9de0f2f8e0425c6f9b27dba2775..cadf3c8e5d265cccd67d857970d23d3db51dd3ff 100644 (file)
@@ -608,6 +608,7 @@ static int designware_eth_ofdata_to_platdata(struct udevice *dev)
 
 static const struct udevice_id designware_eth_ids[] = {
        { .compatible = "allwinner,sun7i-a20-gmac" },
+       { .compatible = "altr,socfpga-stmmac" },
        { }
 };